<% content_for :css do %>
  <%= stylesheet_link_tag 'users_new' %>
<% end %>
<% content_for :title do %>会员注册<% end %>
<div id='user_form' class='grid_24'>
  <div class='grid_13 push_2'>
    <div class='grid_13 pull_a_little logo'>
      <%= image_tag 'users/reg.gif' %>
    </div>
  <%= form_for @user, :as => :user , :url => users_url, :method => :post do |f| %>
    <div class='grid_11'>
      <label for="enterprise_name"  class='grid_11 alpha'>企业/单位名称</label>
      <%= text_field_tag :enterprise_name,params[:enterprise_name], :class => 't', :title => '请输入您所在企业/单位名称' %>
      <%= f.text_field :enterprise_id, :class => :hidden %>
    </div>
    <div class='grid_11'>
      <label for="user_full_name"  class='grid_11 alpha'>姓名</label>
      <%= f.text_field :full_name, :class => 't', :title => '请输入您的姓名' %>
    </div>
    <div class='grid_11'>
      <label for="user_mobile"  class='grid_11 alpha'>手机号</label>
      <%= f.text_field :mobile, :class => 't', :title => '请输入您的手机号' %>
    </div>
    <div class='grid_11'>
      <label for="user_email"  class='grid_11 alpha'>电子邮箱</label>
      <%= f.text_field :email, :class => 't', :title => '请输入您的电子邮箱' %>
    </div>
    <div class='grid_11'>
      <label for="user_encrypted_password"  class='grid_11 alpha'>密码</label>
      <%= f.password_field :encrypted_password, :class => 't', :title => '请输入密码' %>
    </div>
    <div class='grid_11'>
      <label for="user_encrypted_password_confirmation"  class='grid_11 alpha'>确认密码</label>
      <%= f.password_field :encrypted_password_confirmation, :class => 't', :title => '请输入确认密码' %>
    </div>
    <div class='grid_11'>
      <button tabindex="1" class="button positive" type="submit">
        <%= image_tag 'application/lock.png' %>注册成为会员
      </button> 或
      <%= link_to '直接登录', new_session_url, :title => '直接登录' %>
    </div>
  <% end %>
  </div>
  <div id="tip" class="grid_9">
    <h6>
      一定要注册成为会员吗？
    </h6>
    <p>
      是的，只有这样才能更好的为您提供专业、一对一的追单服务。不久的未来，还能获得更多、更棒的增值服务：）
    </p>
    <p>
      收到您的资料后，<b class="et">单易追</b>会立即将之存入系统。此系统由「入侵防御系统」及「防火墙」等安全设施保护，确保未经许可的电脑使用者无法进入系统读取资料。 
    </p>
    <p>
      科技日新月异，<b class="et">单易追</b>将不断为您引进崭新科技，提供更安全及保密的网上追单服务。
    </p>
  </div>
</div>